package com.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dao.AreaResourceDao;
import com.entity.AreaResource;
import com.service.AreaResourceService;
@Service
public class AreaResourceServiceImpl implements AreaResourceService {

	@Autowired
	AreaResourceDao ard;
	
	@Override
	public List<AreaResource> getAll() {
		return ard.getAll();
	}

	@Override
	public AreaResource getById(Integer id) {
		return ard.getById(id);
	}

}
